﻿@model ModifyPasswordViewModel
<div class="layui-row layui-col-space15">
	<div class="layui-col-md12">
		<div class="layui-card">
			<div class="layui-card-header">修改密码</div>
			<div class="layui-card-body" pad15>

				<form class="layui-form" lay-filter="setmypass" asp-controller="Home" asp-action="ModifyPassword">
					<div class="layui-form-item">
						<label class="layui-form-label">当前密码</label>
						<div class="layui-input-inline">
							<input type="password" asp-for="OldPwd" lay-verify="required" lay-verType="tips" class="layui-input">
							<span asp-validation-for="OldPwd" style="color:red;"></span>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">新密码</label>
						<div class="layui-input-inline">
							<input type="password" asp-for="NewPwd" lay-verify="required" lay-verType="tips" autocomplete="off" class="layui-input">
							<span asp-validation-for="NewPwd" style="color:red;"></span>
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">确认新密码</label>
						<div class="layui-input-inline">
							<input type="password" asp-for="ConfirmPwd" lay-verify="required" lay-verType="tips" autocomplete="off" class="layui-input">
							<span asp-validation-for="ConfirmPwd" style="color:red;"></span>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">
							<button type="submit" class="layui-btn" lay-submit lay-filter="setmypass">确认修改</button>
							<span style="color:red; font-size:18px;">@Html.ValidationSummary(true)</span>
						</div>
					</div>
				</form>

			</div>
		</div>
	</div>
</div>